﻿/********************************************************************************/
// <copyright file="IEventRepository.cs" company="Asia E-Business Solutions">
//     Copyright © 2012. All right reserved
// </copyright>
// <history>
//     <change who="Phuoc Le" date="24/12/2012 3:00:57 PM">Created</change>
// </history>
/********************************************************************************/

using System.Collections.Generic;
using JLL.China.Infrastructure.RepositoryFramework;
using JLL.China.Model.DTO;

namespace JLL.China.Infrastructure.Repositories.Event
{
    public interface IEventRepository : IRepository<Model.Event, int>
    {
        IList<Model.Event> Search(EventSearchCriteria searchCriteria);
        decimal CreateNewEvent(Model.Event e);
        Model.Event FindByIDandLanguageFid(decimal? eventId, decimal languageFid);
        Model.Event FindById(decimal? Id);
        decimal UpdateEvent(Model.Event e);
        int DeleteEvent(decimal eventID);
        void ChangeStatus(string arrayId, bool? status);
        void RemoveSelected(string arrayId);
    }
}
